package com.hzncc.flowable_diboot.excel.model;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.lang.Double;
import java.math.BigDecimal;
import java.util.List;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import com.diboot.core.util.D;
import com.diboot.core.util.V;
import com.diboot.file.excel.BaseExcelModel;
import com.diboot.file.excel.annotation.ExcelBindDict;
import com.diboot.file.excel.annotation.ExcelBindField;
import com.diboot.file.excel.annotation.ExcelOption;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.diboot.iam.entity.IamOrg;
import com.diboot.iam.entity.IamPosition;
import com.diboot.iam.entity.IamRole;
import com.diboot.iam.entity.IamUser;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;
import jakarta.validation.constraints.NotNull;
import com.hzncc.flowable_diboot.entity.report.WeeklySummaryReport;

/**
* 周报报表 导入model定义
*
* @author MyName
* @version 1.0
* @date 2024-11-25
 * Copyright © MyCorp
*/
@Getter
@Setter
@ExcelIgnoreUnannotated
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 1)
public class WeeklySummaryReportImportModel extends BaseExcelModel {
    /**
    * 客户id
    */
    @Length(max=32, message="客户id长度应小于32")
    @ExcelProperty(value = "客户id")
    private String customerId;
    /**
    * 客户名称
    */
    @Length(max=100, message="客户名称长度应小于100")
    @ExcelProperty(value = "客户名称")
    private String customerName;
    /**
    * 周次
    */
    @ExcelProperty(value = "周次")
    private Integer week;
    /**
    * 周一日期
    */
    @DateTimeFormat(D.FORMAT_DATE_Y4MD)
    @JsonFormat(pattern = D.FORMAT_DATE_Y4MD)
    @ExcelProperty(value = "周一日期")
    private LocalDate mondayDate;
    /**
    * 周报内容
    */
    @ExcelProperty(value = "周报内容")
    private String content;
    /**
    * 备注
    */
    @Length(max=200, message="备注长度应小于200")
    @ExcelProperty(value = "备注")
    private String remark;
    /**
    * 编辑人员
    */
    @Length(max=200, message="编辑人员长度应小于200")
    @ExcelProperty(value = "编辑人员")
    private String editMembers;

}